/*
 * @Author: ✨Fireflx 
 * @Date: 2022-02-14 22:50:05 
 * @Last Modified by: ✨Fireflx
 * @Last Modified time: 2022-02-14 23:05:52
 */


const mongoose = require('mongoose')

const schema = new mongoose.Schema({
    username:String,
    pwd:{
        type:String,
        //隐藏密码显示
        select:false
    },
    avatar:{
        type:String,
        default:''
    },
    sex:{
        type:String,
        default:''
    },
    desc:{
        type:String,
        default:''
    },
    phone:{
        type:String,
        default:''
    },
    email:{
        type:String,
        default:''
    },
})

module.exports = mongoose.model('users',schema)